﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;

namespace SoundLeech
{
    internal class User32
    {
        public User32()
        {
        }

        [DllImport("User32", CharSet = CharSet.None)]
        public static extern IntPtr FindWindow(string className, string windowName);

        [DllImport("User32", CharSet = CharSet.None)]
        public static extern uint RegisterWindowMessage(string msg);

        [DllImport("User32", CharSet = CharSet.None)]
        public static extern int SendMessage(IntPtr hWnd, uint Msg, int wParam, IntPtr lParam);
    }
}
